#ifndef VertexColorTexture_h
#define VertexColorTexture_h

#include <Defines.h>
#include <CSharpPropertyMethods.h>

// Riccsson includes.
#include <System/RObject.h>

// XNA includes.
#include "../../Color.h"
#include "../../Vector2.h"

namespace Riccsson
{
	namespace Xna
	{
		namespace Framework
		{
			namespace Graphics
			{
				//[StructLayout(LayoutKind.Sequential, Pack=1)]
				/*internal*/ struct VertexColorTexture
				{
					public: Vector2 Vertex;
					public: uint color;
					public: Vector2 TexCoord;
					public: VertexColorTexture ( Vector2 vertex, Color color_, Vector2 texCoord )
					{
						Vertex = vertex;
						color = color_.PackedValue;
						TexCoord = texCoord;
					}
				};
			}
		}
	}
}

#endif
